package com.itheima.pojo;

import java.io.Serializable;
import java.util.Date;

public class ShopCart implements Serializable {
    private Integer id;
    private Date createTime;
    private Long userId;
    private Integer isDelete;
    private Integer contentId;
    private Integer num;
    private Float price;
    private String img;
    private String title;
    private String description;
    private String ip;
    private String ipAddress;
    private String url;

    @Override
    public String toString() {
        return "ShopCart{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", userId=" + userId +
                ", isDelete=" + isDelete +
                ", contentId=" + contentId +
                ", num=" + num +
                ", price=" + price +
                ", img='" + img + '\'' +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", ip='" + ip + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", url='" + url + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
